package com.wh.Mapper;

import com.wh.entity.WHouse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Description WHouseMapper
 * @Author zhq
 * @Date 2024-11-06
 */
@Mapper
public interface WHouseMapper {

    List<WHouse> list(WHouse wHouse);

    @Select("select * from warehouse where restock = #{restock}")
    List<WHouse> remain(Integer restock);
}
